package com.ruoyi.system.mapper;

import com.github.pagehelper.Page;
import com.ruoyi.system.domain.House;
import com.ruoyi.system.domain.dto.HouseChangeStateDto;
import com.ruoyi.system.domain.dto.HouseQueryDto;
import com.ruoyi.system.domain.vo.HouseMapVo;
import com.ruoyi.system.domain.vo.HouseQueryVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface HouseMapper{
    Page<HouseQueryVo> selectHouseListByHouseQueryDto(HouseQueryDto dto);

    House selectById(String houseId);

    List<String> selectImageByHouseId(String houseId);

    void changeHouseState(HouseChangeStateDto dto);

    List<HouseMapVo> selectHouseMaps();
}
